<?php
require_once 'db.php';
class Keywords extends DB{
    public function select() {
        $this->getConnection();
        $query = 'SELECT * FROM keywords';
        $keywords = $this->query($query);
        return $keywords;
    }
    public function lonHon10(){
        $this->getConnection();
        $query = 'SELECT * FROM keywords WHERE LENGTH (name) >10';
        $lon10 = $this->query($query);
        return $lon10;
         }

}
